package com.baichuan.cons;

/**
 * @Auther: leo
 * @Date: 2020/3/27 13:25
 * @Description: Redis 公共KEY
 */
public class RedisKey {
    //前缀
    private static final String REDIS_PREFIX = "CAR_SOURCE:";

    //小程序接口主服务
    public static final String APP_MASTER_SERVER_KEY = REDIS_PREFIX + "APP_MASTER_SERVER_KEY";

    //一天内短信发送次数计数器，有效期当前剩余时间
    public static final String SMS_SEND_COUNTER_KEY = REDIS_PREFIX + "SMS_SEND_COUNTER:";
    //短信发送对象，有效期5分钟
    public static final String SMS_VERIFY_CODE_SEND_TIME_KEY = REDIS_PREFIX + "SMS_VERIFY_CODE_SEND_TIME_KEY:";
    //验证码验证错误次数
    public static final String SMS_VERFIY_ERROR_COUNTER_KEY = REDIS_PREFIX + "SMS_VERFIY_ERROR_COUNTER_KEY";
    //验证码唯一标识
    public static final String SMS_VERFIY_UUID_KEY = REDIS_PREFIX + "SMS_VERFIY_UUID_KEY";

    //订单序列
    public static final String ORDER_NO_SEQ_KEY = "ORDER_NO_SEQ_KEY";

    //微信小程序token
    public static final String WX_ACCESS_TOKEN_KEY = REDIS_PREFIX + "WX_ACCESS_TOKEN";


    //更新车辆品牌时间
    public static final String APP_UPDATE_CAR_BRAND_TIME_KEY = REDIS_PREFIX + "APP_UPDATE_CAR_BRAND_TIME_KEY";

    //秒批定金订单锁
    public static final String SECOND_BATCH_ORDER_LOCK_KEY =  REDIS_PREFIX + "SECOND_BATCH_ORDER_LOCK_KEY";
    //拍卖定金订单锁
    public static final String AUCTION_ORDER_LOCK_KEY =  REDIS_PREFIX + "AUCTION_ORDER_LOCK_KEY";

    //CMS用户权限MAP
    public static final String CMS_SYS_USER_PERMISSION_MAP = REDIS_PREFIX + "CMS_SYS_USER_PERMISSION_MAP";
}
